﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Routing;
using System.Web.Security;
using System.Web.SessionState;
using ATM_System_Mock1_G2;

namespace ATM_System_Mock1_G2
{
    public class Global : HttpApplication
    {
        void Application_Start(object sender, EventArgs e)
        {
            // Code that runs on application startup
            AuthConfig.RegisterOpenAuth();
        }
        protected void Session_Start(object sender, EventArgs e)
        {
            //Session[]
            Session["CardNo"] = "";
            Session["EnterPIN"] = 0;
            Session["AccountReceiveID"] = "";
            Session["AccountTransferID"] = "";
            Session["Amount"] = "";
            Session["ViewHistory"] = 0;
            Session["Block"] = "";
        }
        void Application_End(object sender, EventArgs e)
        {
            //  Code that runs on application shutdown

        }

        void Application_Error(object sender, EventArgs e)
        {
            // Code that runs when an unhandled error occurs

        }
    }
}
